// pages/user/cnt.js
import { System } from '../../model/system.js';
var system = new System();
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    wx.showLoading({
      title: '加载中',
    });
    this.getSystem()
  },

  /**
   * 获取系统信息
   */
  getSystem() {
    system.getSystem((result) => {
      var WxParse = require('./../../utils/wxParse/wxParse.js');
      WxParse.wxParse('currentContent', 'html', result.privacy, this, 5);
      wx.hideLoading();
    })
  },
})